WP_Defender\Component\Two_Fa C

Total Complexity 112
Dependencies 17
Dependents 10
Total lines 809
Lines of code 449
Logical lines of code 249
Comment lines 245
Methods 31
Properties 0

Methods 31

Method Rating Maintainability Complexity Lines of code
verify_attempt()
A
42 9 53
admin_notices()
A
47 8 37
is_jetpack_sso()
A
49 8 32
send_otp_to_email()
S
43 6 44
is_enable_for_current_role()
S
53 7 22
remove_enabled_provider_for_user()
S
55 7 18
get_default_provider_slug_for_user()
S
56 6 17
get_available_providers_for_user()
S
58 6 14
remove_actions_for_2fa_screen()
S
59 5 16
maybe_update()
S
60 5 13
get_custom_graphic_url()
S
57 4 17
display_user_actions()
S
59 4 14
is_enabled_otp_for_user()
S
60 4 13
get_enabled_providers_for_user()
S
60 4 12
get_providers()
S
57 3 17
alter_user_table_row()
S
61 3 12
is_tml()
S
64 3 11
get_provider_by_slug()
S
66 3 8
add_hooks()
S
60 2 13
reencrypt_data()
S
62 2 11
is_force_auth_enable_for()
S
66 2 8
is_auth_enable_for()
S
69 2 6
count_users_with_enabled_2fa()
S
62 1 12
alter_users_table()
S
69 1 6
get_attempt_limit()
S
79 1 3
is_checked_enabled_provider_by_slug()
S
75 1 4
get_time_limit()
S
79 1 3
is_intersected_arrays()
S
78 1 3
is_user_enabled_otp()
S
79 1 3
enable_otp()
S
75 1 4
m2_no_ajax()
S
82 1 3